<style>
	.bonus-strong {
		color: #d40000;
		font-size: 20px;
		font-weight: 700;
	}
</style>
<div class="findtrs" >
	<form action="{:url('usdtPay')}" class="layui-inline layui-form" method="post" style="width: 100%;">
		<div class="ftitle">
			<div class="lt">
				<h2>USDT 充值</h2>
			</div>
		</div>
		<div class="fremittanpred fbai" style="height: 650px" >
			<div class="txt">
				<p>完成支付操作后，会自动跳转到充值列表。</p>
			</div>
			<div class="list">
				<ul>
					<li>
						<label>付款金额 <i>*</i></label>
                        <select name="money" id="money" lay-filter="money" lay-verify="required" lay-verType="tips">
                            {foreach $money_array as $m_v}
                                <option value="{$m_v}">$ {$m_v}</option>
                            {/foreach}
                        </select>
					</li>
				</ul>
			</div>
			<div class="fdetail">
				<ul>
					<li>
						<i style="font-size: 20px;">
							<span style="font-weight: bold;color: red">* </span>
							<a href="javascript:;" style="font-size: 21px;font-weight: bold;color: #6c757d" id="ftianj">实名认证</a>({if $grade != 0}已认证{else}未认证{/if})
							<br/><br/>
						</i>
						<i style="font-size: 20px;">
							<span style="font-weight: bold;color: red">* </span>
							<span style="font-weight: bold;color: #6c757d">充值手续费: <span style="color:#d40000 ">{$rate*100} %</span> 。</span>
							<br/><br/>
						</i>
						<i style="font-size: 20px;">
							<span style="font-weight: bold;color: red">* </span>
							<span style="font-weight: bold;color: #6c757d">如果不小心支付了错误的金额，请点击<span style="color:#d40000 ">“取消充值”</span>，然后选择<span style="color:#d40000 ">“充值未到账”</span>。</span>
							<br/><br/>
						</i>
						<i style="font-size: 20px;" >
							<span style="font-weight: bold;color: red">* </span>
							<span class="bonus-strong">首次使用USDT充值，到账后返现 <strong>$5.00</strong>。</span>
							<br/><br/>
						</i>
					</li>
				</ul>
			</div>
			<div class="fbottonlst" style="float: left;padding-top: 50px">
				<ul>
					<input type="hidden" id="rate" value="{$rate}">
					<li class="on"><input type="submit" class="fsubmit" lay-submit lay-filter="edit" style="float: left" value="提 交" ></li>
					<li><a href="{:url('fund/index')}">返回</a></li>
					<li><a href="{:url('fund/usdtError')}" style="width: 200px">充值未到账</a></li>
				</ul>
			</div>
		</div>
	</form>

</div>

<script type="text/javascript">
	layui.use(['form'], function() {
		var form = layui.form;

		$('#ftianj').click(function(){
			const grade = '{$grade}';
			if(grade != 0){
				layer.msg('用户已认证', {time:1500});
				return false;
			}
			window.location.href = "{:url('user/cardCheck')}";
		})
	});
</script>